<template>
  <div class="fullscreen">
    <el-button
      class="my-icon-button"
      circle
      :icon="FullScreen"
      @click="toggle"
    ></el-button>
  </div>
</template>

<script setup lang="ts">
import { useFullscreen } from "@vueuse/core";
import { FullScreen } from "@element-plus/icons-vue";

const { toggle } = useFullscreen();
</script>
